package com.csnf.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("seata-account")
public interface AccountFeignClient {


    //更新账号余额
    @PostMapping("/account/updateAccount")
    public String updateAccount(@RequestParam String userId,
                                @RequestParam int money);

}
